Total Complexity | 36 |
Dependencies | 3 |
Dependents | 2 |
Total lines | 267 |
Lines of code | 152 |
Logical lines of code | 72 |
Comment lines | 73 |
Methods | 6 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_patterns() | 41 | 12 | 58 | |
update_core_patterns_with_wpcom_categories() | 54 | 6 | 22 | |
update_pattern_post_types() | 56 | 6 | 18 | |
get_patterns() | 50 | 5 | 32 | |
can_register_pattern() | 61 | 5 | 12 | |
__construct() | 63 | 2 | 10 |